package com.xsf.spring.cloud.alibaba.sentinel.consumer.feign.service;

import com.xsf.spring.cloud.alibaba.sentinel.fallback.ProviderFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "nacos-provider",fallback = ProviderFallBack.class)
public interface ProviderFeignClient {
    @RequestMapping(value = "/echo/{str}")
    String echo(@PathVariable("str") String str);
}
